package com.appstore.mapper;

import com.appstore.domain.entity.AppImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AppImageMapper {
    List<AppImage> getByAppId(Long id);

    void addImage(@Param("appId") Long appId, @Param("imageUrl") String imageUrl);

    int deleteByAppId(Long appId);
}
